Skip to main content
Version: 2.x.x

OnFinishedCallbackType


import { OnFinishedCallbackType } from "@hyper-fetch/react"

Description

Defined in helpers/use-command-events/use-command-events.types.ts:98

Preview

type OnFinishedCallbackType<Command> = (params: CallbackParameters<Command, ExtractClientReturnType<Command>>) => void | Promise<void>;

Structure

(params: CallbackParameters<Command, ExtractClientReturnType<Command>>) => void | Promise<void>